//
//  SLNavigationViewController.m
//  CustomNavigationTransition
//
//  Created by 朱志佳 on 2019/4/4.
//  Copyright © 2019 朱志佳. All rights reserved.
//

#import "SLNavigationViewController.h"
#import "SLNavigationDelegate.h"

@interface SLNavigationViewController ()

@property (nonatomic,strong) SLNavigationDelegate *navigationDelegate;

@end

@implementation SLNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [self initialize];
}
#pragma mark -初始化方法
-(void)initialize{
    self.navigationDelegate = [SLNavigationDelegate new];
    self.delegate = self.navigationDelegate;
}

-(void)dealloc{
    NSLog(@"%@ dealloc",NSStringFromClass([self class]));
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
